From: Keir Fraser Date: Mon, 9 Jun 2008 08:42:51 +0000 (+0100) Subject: xend: Use get_config_string for 'keymap' and 'resource-label-change-script'. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14200^2~85 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=50cd7ffdad92f029635c66d7f616cff2a7c14c14;p=xen.git xend: Use get_config_string for 'keymap' and 'resource-label-change-script'. Signed-off-by: Juergen Keil --- diff --git a/tools/python/xen/xend/XendOptions.py b/tools/python/xen/xend/XendOptions.py index 95d3751644..aec8134be7 100644 --- a/tools/python/xen/xend/XendOptions.py +++ b/tools/python/xen/xend/XendOptions.py @@ -330,10 +330,10 @@ class XendOptions: self.vncpasswd_default) def get_keymap(self): - return self.get_config_value('keymap', None) + return self.get_config_string('keymap', None) def get_resource_label_change_script(self): - s = self.get_config_value('resource-label-change-script') + s = self.get_config_string('resource-label-change-script') if s: result = s.split(" ") result[0] = os.path.join(osdep.scripts_dir, result[0])